Fix tests and send e-mail on site create