Fix test_2dcohomology to work from any directory