Fix qunit failure introduced by 3bd1a5a