updating spec and test for check_positive