fix test and move debian packaging to maven (jdeb plugin)