Write tests for the password-strength service