Add test for Shoestring::Cache check

Fixes #1