Fix IE tests. Closes gh-452.