strpos has needle and haystack reversed, gets me every time
Return messages before destroying them.
No print d tests
Fix tests