Added testcase for checking that mocking singleton fails with PHP 5.3 (warning is triggered)