Mocha - Create a stub with properties