Extract common testing infra out from `nethsm` into `nethsm-tests`