Fix insertBefore on IE and minor test issue with new Option

This should address issue #333.