Bug fix (-DNEWAMB) where ray behind test was failing