Unit test for password checking on smf.