shapex & tests