Add some initial spec tests.
Best effort 1.8.7 matrix.
Merge pull request #61 from nanliu/travis

Add initial spec tests.