Fix glitch found in plot, adds to qunit test