implemented ksLookupBySpec

with override, fallback, default
fix testcases with regexstore