stacklead: add tests