Added quiz service tests
Refactored db tests