Add tests with scripttest