testing analysis code