test_frontend: add more complete countMatch testing
Add more coverage for exceptions