test if attribute removal works