test: group test_defined? tests for "def test_XXX" style definition