Adding more tests and API for Quiz