wrote test and implement functionality to add a new question