view testing for edit registration/ new registration