done unit testing spam class