Issue #26, Add test for shadow caching.