testing inference