Logout after test function executed.