[fix] use expect to check property