make lflearn a testing dependency only