Fixed tests to run on all platforms.