fix test mode; ignore coverage dir