Major test rewrite, got rid of test fixtures (fixes #107)