Modifications of test_ga and cohorts.py

Files are heavily bugged with unexplained syntax errors. None of the tests of the file test_ga works properly. I get syntax error all the time and the guidelines are vague at best.