added missing import for qonos exceptions

The import for qonos exceptions was removed in a previous PR and causes
the tests to fail. This PR adds that import line back in.