fixes #19 to successfully run tests on simulator with non-default locale
Merge pull request #21 from jeddison/issues/19

oops, sorry for taking so long. thanks for this.