fixed test_alive not catching errors