XD-31 Create field value counters
Add InMemory version of field value counters
Refactoring of test cases to use JavaConfig based ContextConfiguration