two tests for user class