added test script for running stata