Fix tests teardown conflict bug. Closes #34