Add standard const and optional diagnostic prints for motion test.