Fix test for runnig from maven