[FEATURE] Add tests for gateway.deposit functions.