Kerri Pegg denies two counts of misconduct in a public office