Update functionalTest.php

Added another function for registration.