Tests pertaining to user login