Fixing closure in test for php 5.3
Changing method to non static, fixing test for PHPUnit 4