Moved test script to tests directoy