[test][freeflow] Process comments in MR to move createAnalyticalSolution to file and reuse for several tests.