adding tests for user