Reorganizing tests.
Adding more timestamp APIs, and correcting some method names.
Adding tests for accessing timestamp by keys.