reinstate confusing line of code that is apparently uncovered by tests
skip test on jenkins that only fails on jenkins