use correct assert method