Added tests for timeparse.js