Here I've also changed the 100 ms to 1 for quick testsuite, as well as the test verifies that in case of non existent file, the execution performs without any exceptions and the lastmodified date is 0. At least this case is covered with test.