Issue #197: clean up registration test case