move registry from test to lib
section 3 complete