creating tests for successful log in and out