added tests and corrected existing tests for menu sign-in