Add test for parentViewDidChange event.