test($cordovaGlobalization): add unit tests

hopefully we can abstract some of them a bit more
Merge pull request #264 from mrzmyr/test-globalization

test($cordovaGlobalization): add unit tests