[Bugfix] ensure if testem fails we tear down everything

- [ ] find time to write the test