fix tests
add note that key byte is interpreted as unsigned int
pass key as an arraybuffer from the ux