all test cases works for mac; both debug and release