Added spec to ensure ref is still parsed fine