Test improved to expect 200 as status code after analysis