fix a bunch of tests with the same pattern