fix tests rake task