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
"and so mocking instances _are_ preferred"