Change tests to account for cross-browser inaccuracies