add main prog to test