Added functional test to application for the user model.