Therefore your assertion on line 2549 should check that the size is 1 because it is matching only drug with id 2 but it is appearing twice in the results