add unit tests for questions view