Minimal test for locale module

This is a minimal test to have any guarantee of not broken API with language changes.
As always if you have suggestions for changes just tell me.