Added tests for all different cases of bad inputs
Tweaked documentation to get 100% pod coverage