Tests checking if platform is darwin.