Added unit test for encoding of weekday and month names