Fixed tests for php53