added a basic testcase to confirm proper pattern-merged-entities behavior