monogamy search, update unit testing