introduce a unit test for the symbol parser, and clean it up a bit

also left in a "pending" test... ready to start writing tests