fix old tests to not use methods removed in PHPUnit 3.6 anymore (WTF?) and to use data providers instead of the dynamic test case creation we did before data providers were in PHPUnit (that old way doesn't work with PHPUnit 3.6 anymore), refs #1457