Thank you. You are right, ist was my fault. But after the correction I became a different failure.
The Photos - App was opened with the library it was opened bevor
Following Error: The Programm "(null)" has no rights to open "Testlibrary.photoslibrary".