Converted variable values to numbers and added debug to test