Use [ArchiveTest/TestBrokenShader](https://github.com/DiligentGraphics/DiligentCore/blob/7e1898150616cfa1ee733c212f54fe59c3fb6a78/Tests/DiligentCoreAPITest/src/ArchiveTest.cpp#L454-L468) test suite as example.