Added tests for Script