2—1 @ bool vs string return-value in valid_settings()
added test for settings as a string in test_valid_settings() and fixed valid_settings() accordingly.