Add lfapi tests, now all pass.