Merge pull request #21 from ysjwang/tests/refactor

Re-greened tests
Merge pull request #22 from ysjwang/tests/refactor

Added travis-ci bridge