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
Format `attribute_examples` and `method_examples`.