Add more tests and cleanup old files

Add tests for lots of things, but mostly for testing the osf processor. Also add an invoke command with a coverage option to see test coverage. A bit of pep 8 formatting thrown in for fun!