Added lscache definitions

Added lscache definitions and tests.