change test-appveyor to test-spec and add test-clean method to clean up after tests