trying to fix lastwrite unit test