added localization-related test using assert_generates
added test with implicit locale