tests for undefined references