Added full support for programmatic test case generation