Fix unit test for added/last_modified timestamps

Part of #367