added tests for users