Tests failing in old browsers

Fix two tests failing in IE7 and FF3.6