adds test coverage for getPetitions and getSignatures

test coverage for the validation of arguments for both functions.

let me know if you have any feedback!