added unit tests; began work on command-line runner class