version bump-v0.3.9
adds tests for errors