fix passing of parameters conundrum
change docstring of one of exceptions
test case for passing of parameters