added stubs.js to contain common stubs
Merge pull request #3 from johnpapa/tests

added stubs.js to contain common stubs