Restructure test_symbol_codes.cpp + Randomize test parameters