pass course lib path as argv[-2] to tests,  improved test_helper