Let package violation return resource
Fix message assertion in integration test