Added test script for mac/linux