Fix test: introduce 1.5s delay before changing file.

Intriduce a 1.5 second delay before modifying a file because the
resolution of lastModified() is on a second basis in Unix.