Added unit test to test success case.
Added unit test to test success case.

mjsalinger/node-oauth2-server,thomseddon/node-oauth2-server,razvanz/node-oauth2-server,oauthjs/node-oauth2-server,visvk/node-oauth2-server