Fix syntax errors in test-fit-coal.r