add all tests to appltest.c