Fix tests for new DB timestamp

Fixes #343