Added tests for component's cached DOM nodes.