Added another test similar to the One Pair bug test, and found another bug which is now fixed.