Add tests to specify the formatter call sequences.

Add tests to specify the differences between the command line runner
and the JUnit runner, with respect to the calls the formatters
experiences.