Tests to support implementation.

Created tests (and fixture classes) to grant the implementation continue
to work.
There are some tests I was not able to make, by now.
Add travis support.

And also the build-status badge on the README.
Move license to its own file.

Favor license on its own file, instaned of being in the end of the
README.