add specs for caching and method interface
  add in mocha for mock/stub framework