fix tests for member registration api