tests: fix rounding issue in timestamp comparison

Change-Id: I5fad200a97933180bb7ef2e9b6324d4fc7756fbf
Fixes-Bug: #1223346
Merge "tests: fix rounding issue in timestamp comparison"