Plot with debug tests