Purely for some simple testing see below.
Thiele tube + sample in a capillary + thermometer + burner and check melting temp.
ph strip to check for NaOH
Marquis reagent and DMT comes out orange
Flame test will be yellow in presence of sodium
If you're really worried about NaOH then simply re-x as already suggested. It should not be a major issue anyways as NaOH solubility in common hydrocarbons is minimal at best.
Be inquisitive and always question things...