Completed tests for user login and for planes