fix tests for user