changed registerService to registerServiceContract and updated tests