Fixed missing target folder for test case when run by Travis.