started unit testing
testing invalid units
testing invalid units
more testing
more testing
covered in unit tests, fixes #2
added pre-commit checks