Integrate between the entity cache to OS reader module.
Adding tests.