Fix test print for OS X