fix preview test, add hosturl test data, fix travis for no xdebug