Todos: - [x] Review current drep-tests to findout whether or not they cover the cases for script drep. - [x] Extend the existing tests written for dreps to also test script drep