Added a few basic spec tests.
Added a Travis file.