add changes for layoutafter/layoutbefore/ingroup/layoutpass and test cases