Configured simplecov/coveralls.
Added tests.
Configured travis.