Let's just do everything inline and cut out the extra function calls to make the code simpler. I also created functions to help tests send EOS or error messages. Signed-off-by: Anna Schumaker <Anna@NoWheyCreamery.com>