Fixed precision issue with tests in chrome.