Could I kindly ask you to run test also on my code?
Are the inputs and outputs of all of your functions byte arrays?
almost, was it specified anywhere how input output should look like?
take a look at github, there's description of input output there.