collection and marker collection tests, and initial hash implementation