add getName to sinon stub

- fixes karma by adding a stub