implemented test for successful registration; Closes #22