added tester controls and code 'generation'