Added tests for marking spam and ham.