Create common-spec.js

unit test
Merge pull request #83 from princezahee/patch-5

Create common-spec.js