added testRegistryForm.java and testForm.html