moved test case in example directory
fixed tests for darwin