Added unit tests for sites

1. New subdomain sequence
2. Uniqueness for names and own_domains