Updated README with function tests showing inputs and outputs