added test for --ref with --ignore-missing (going into shell)