Added new assert method