Revert "use mocha as mock framework"

This reverts commit 00e61393822d09558bd3711587d1e4785a332158.
use rspec-mocks api