update to support negative times
forgot to add new test case