tests to mimic a NPE seen in downstream project