remove out directory
fix tests running from gradle and add artifacts