domain tests, domain update
remaining tests, error fixes