First draft of testing guide using RSpec.

This is a very rough draft. I'm still exploring what exactly our testing guide needs, any feedback will be appreciated.  @david-yz-liu @zhangsu @arkon
"stub and mock"