Replace failing EditCommonAttributes unit test with a spec