tests for question and answer attributes