added spamtest function, not working correctly :/
added spam test example