Added tests for null passwords.