Added a number of test cases. Tested getPlural thoroughly. Fixed a few bugs.