Now replaces values with constants in named references
Remove redundant code in replace_values_with_constants
Replace output to stderr with log message
If choose to generate tests in pure C, will still produce Ruby version