Move iframe_base_url to a class accessor and adjust tests