Simplifying test that's failing on Jenkins