simplified and working inbox check test