Testing old_api with TestCase class

Making tests into unit tests makes it easier to import them in nengo_ocl,
 swap the `Simulator` class attribute, and re-run all the tests with a
different simulator. I'd like to do more tests this way, rather than
having them be just `test_foo` functions at the module level of test
files.