nosetest for checking thrown exceptions on compatibility checking.