Rename definitionLibrary resource to definitionlibrary (lowercase L) in the test also