add base class and spec mock
Merge remote-tracking branch 'origin/master'