Replace assertCount() with assertEquals().