Add several acceptance tests for start-time and end-time.
Fix tests.