(maint) add spec tests for cache work and temp link resources
(maint) add spec tests for ensuring proper permissions on cache dir