__APPLE__ out OSX specific code
Fixed stale memory access
More robust paths for shared libs
More robust paths for test script
Better test behavior and don't hang on track fail
Restore modified adb.js for now