This appears to fix tests on Mac(Linux).