added tests for exceptions thrown in __call()