update to nsb v5 beta1

also add tests