use bean test