collectios tool class test