types must be shared to be run as tests (at least in JS)