Created tests for users and sessions