Alloc: Generic-ified the value test classes.