gongming: using rspec to test unit