Created test case auto-registering macro.