adds more unit test code. fixes some errors with buffers.
Merge branch 'master' of https://github.com/patrickhuber/CacheIt.git