run generated codes tests