fixed test names to contain spaces instead of
junit-slam-everything-together-into-a-single-camel-cased-word
condensed multiline if-then into a single if