test: add test-lib helper

So Git is properly set up.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
travis: add package dependencies

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>