Pulled unit tests for Unit.toString from Unit.main into a real unit test.