Test for loader (should throw configuration error)