tests: all test moved to TestCase [closes #45]