Fix testcase compile error on OS X 10.6+, take 2

Add includes for Darwin in another test file