added tutorial registration tests and logic, completing the tutorial