tests: fixed cache test
codestyle
rules and messages property path, nested entity validation