Added the tests under https://github.com/rainprotocol/rain-protocol/pull/515
Added the tests under #515