Add hspec test.
Remove warnings
Supporrt Travis