Add spec tests

Initial work by Brad Anderson <brad.j.anderson@ericsson.com> and
refacted by Garrett Honeycutt.
Support Travis-ci
Merge pull request #6 from ghoneycutt/spec_tests

Spec tests