added tests for the functions that prep the y variable to send to Fortran programs