added users state check to both tests classes