v3.1.2

- Cleaned up tests.