Updated testHybrid Code