Reworked exception behavior, added test cases for incorrect input.
Release 0.1.0