move leaky backend test into simple node program