Added tests for cache reading and disk writes
Added caching and disk temp file routines
insert test records