Add Set attribute tests, fix edges