Fixed tests for php 5.3 (can't use Foo::class)