update JUnit testing, some test cases need updating because default settings have changed.