You can test Registration Validation in following way.
Username : can not contain admin and manager in the string.
Password : must start with a and end with z.