PBR-527 Add tests for Resource Library Contracts