Moved the old standalone app to testapp.c