Add tolerance checks for twilight tests