Refined tests, helpers