rewrite tests
exceptions into separate file
v0.1.0