Update dependencies and added coveralls.io
Simplified code.
Fixed specs.
Fixed specs.