move default handler for tests to jsx_utils