moved tests under api folder
added user helper for login/logout
added test for invalid game