fixing tests and a bug
added basic locale awareness
version 0.5