The picture is showing a washing machine drain with a hot water heater overflow drain tied in. Before I hooked up the washing machine I tested the drain by running the water through from the supply line. The problem is that the water backs up and comes out through the hot water heater overflow drain and into the drain pan of the hot water heater. I have raised the hot water heater off the floor on lumber framing twice thinking it just wasnt high enough but the problem is still happening. The drain pipe is tied into other drain pipe under the floor which is vented through the roof. What is the Solution?