fixed todos in testanalysis