speed: type `test` for ~10% gain
style: use explicit cnp.types_t