Added tests for local time