Updated travis.yml file with the new tests.py script
Fixed datetime_to_timestamp function with local time