Fix incorrect mostCommon() returned value when no merge with other collection was made.
Put back tests in the module they belong to.