changed assertion to assertTrue