tests: add fun for retrieving environment vars
tests: set the number of bytes to stream

Check the ALCOVE_TEST_STREAM_COUNT for the amount of data to stream
during the test. Twice this value will be sent (<<"y/n">>).