tests for user and bug fix