implemented collection assert using new comparison routine