Fixed oath tests for new exception handler