use assertTrue for backward compatibility