Abstracted the test functions to work with other symbol tables that might later be implemented.