Add complexity analysis to tests