adding test for structured search for POJO