added mock and spy examples to test suite