adding test error plot