test/memberdata: tests for all utility functions here