Do the changes below in your test.sh and test2.sh We have to pass the variables as arguments to the script.
test.sh (updated version):
#!/bin/bash
TESTVARIABLE=hellohelloheloo
./test2.sh ${TESTVARIABLE}
test2.sh (updated version):
#!/bin/bash
echo ${1}