seems like test.sh is having bad assumptions. should probably just update to reuse or mimick what jbanghub does.