fixed test_app errors