Add unit tests for Question and API client