Bug 922759 - Test that BasketException has the right error code