Add tests for SelfRegistrationApiView

Hayat requested to merge add-tests into main

Merge request reports