`lore test` should set `LORE_ENV=test`. Looks like it is being set too late and the test config is not being used.