Minor tweaks
Use `compare-size` in tests
Create and remove tmp directory before and after tests
Show errors in tests
Always test the current version