add tests for other core functions.
add TTL/LRU caching to loaders. (closes #3).