Refactor: collection unit testing.