renderComponentToString: prepend images if no <head> is in markup
Tests