switch to correct sundial function; jshint fixes
simulator tests with timezone offsets in the data