Adaptation to be able to run test in travis
(without installing)