added additional exceptions for API tests