New tests added

*Changed test.php adding new tests for login and register functions