Add tests for scripts.