ported tests to mocha
added use of local locale to __ and __n