li: add peak_li_test()

This allows to run a single application matching function.
Use cases are unittests and "lighter than light" inspection.