Improved th logic of displaying test questions in the test_series view.py