Fix tests in browsers

Firefox had 9 failing tests; Safari had 1. This brings Firefox down to 2 and Safari to 0 - #172 fixes those last 2 Firefox tests.