Unit testing Collect.c