lp unit tests