Remove old test code for capabilities