Fix testing environment to porpertly run on Travis-CI