add test to cover scenarios: more than 2 items