nuke all the cruft
Added ability to run tests via command-line.