add getName to sinon stub
Merge pull request #1794 from matiu/karma

add getName to sinon stub