tests for script