Fix double test run
fix addslashes
fix $case['class'] in PHPUnit adapter