fixes for itemset client in legacy mode
tests for itemset client in legacy mode