Use new expect().to syntax

Signed-off-by: Jeffrey Peckham <peckham@pivotallabs.com>