on the fly testing working with require within an iframe