Test code 'combinations with k items from n items'