Add tests to generate testapp