And add the missing unit test from my previous update. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>