Test fixes for standalone reference linker