Use expect to implement 'to be'