Fixed mac test error