add TestRegistry
name registry and rmi conflicts with the java native package