add passing tests for Script model