Adjust tests to php 5.3
Adjust ServiceManager test