improve test case for component parent content compilation