spec: fix jasmine test related to signature