Test window.parent onload