Test for user class