Combine CyTestMixin and TestCase; use savepoints more

No speed difference was observed.