Support for anonymous defines, adding tests.