Added deep equality assertion