Adding complexity analysis to tests