fix load-errors in tests