Test specs added for locale methods and parseKey method.