Removed all ‘logical’ elements of tests, since they were causing incorrect failures.
added test_costFunctionReg & included it in the test suite