fix test, register error, DRY up errors
v0.0.10
v0.0.11 dependencies -> peerDependencies