fixed the sigmoid test