Add "unreferenced scalar" test case (xt/ only)