Adds command line runner for tests.