add tests for cache_special_functions (closes #5)