Escape backslashes in phpunit mock calls, disable mysql test if constant not available