implement tests and functionality to edit questions