Support for asserting sub-components were rendered with particular state