Fix failing tests

fixes a tests that have been failing since the core-ref-line PR