Added touch() and getLastTimestamp() methods. Updated the tests.