Fixed test that fails on PHP 5.3, added travis badge to readme