rewrote the locale test as a proper spec test, where the tests are a
specification of the desired behaviour