added test_analysis