Gray two-moment neutrino transport: Comprehensive tests and improvements for supernova simulations | Synapse