added random function

add tests that test normalizeSymbol