SpamAssassin can be checked by feeding a text file into it and piping the result out to another text file. Amendments can be made to the input file to check for effectiveness. Consider using the 'GTUBE' phrase as a trigger to increase the score and label a message as spam.
spamassassin -t < sample-spam.txt > spam.out