Test for edit questions function