script and tests added