fix addRequirement Test