Rewrite tests

The tests were referencing tools.analyzer and would fail when running
under mranderson as that library couldn't be found on the classpath.
I've rewritten the tests to rely on standard clojure namespaces instead.

I just want to make sure the tests pass on travis before I merge this one in.