Made if test inclusive of playbackDruation value..