Added a test for secret collections