Testing of users controller