caching with tests updated

Student model cache now implemented.