Fixed tests for app_generator