test($compile): correct the assertion to make test pass on IE11