Fixing Jasmine tests. Adding tests for start end time checking.