Extract quiz marks, allocate to questions
Implemented test id sql, getting test_type directly from initial query.  Query beautifucation