Added test case for cache bug
Removed test case
Removed cache object.

Fixes #2.

After thinking about this, I thought the best approach was to remove the cache object. This keeps the encode and decode functions focused on a single responsibility.
Version bump