add data check for UserTest.php