Add test for cache and added configuration for schema