Run unit tests.
Add travis ci configure.
Implment updatedir command.