Expand tests for extraction of case classes with type parameters.