tests for timecache, fixes #2
fix test naming
fix tests