Updated blp823 tests for handling correct exceptions