Don't treat missing default case in switch as error in tests