added quick test of allCombinations which has been ported to work with objects