Import the exception classes for tests too