Fixed tests to be IE8 compatible