Fixed tests, mostly due to update to node-typed