fixed tests and initialized hostregistry at pool startup