test for masterpassword