refactored for rspec spec_helper and mock/stub
Merge pull request #1 from francisluong/dev_main

refactored for rspec spec_helper and mock/stub