You put too many checks into one test method. This an anti-pattern. Instead, we should have small test methods, which are easy to refactor and maintain. Please, break this method down. One method should test just ONE feature of `MergedMaps`