fix test due to extracting site logic in sites.py