Should also add a few test cases to auto-test-timing-functions.html