test for exception passed through