JUnit Tests for Misc Utility Classes.