test($cordovaGlobalization): add unit tests

hopefully we can abstract some of them a bit more