wip
napi unit tests