Discrimination of POVMs with rank-one effects