Add more tests for backward compatibility.
Add local cache layer.