[WIP] New tests

So I've started the process of cleaning up the test suite.  I have a couple of basic working nose tests.  This will take a lot more work, but I've started the PR so that people can see this as it happens.