added tests for symbol validity