Fixed the test cases to be compatible with PHP 5.3
Also removed composer.lock from local version control so I won't accidentally update it again.