Implementing collection resources and adding more tests.