query now returns timestamps with values
Added some tests
Added travis-ci build badge