Make ids protected attributes and fix ability test to adhere