add check for result object to helper
add test for user creation