Fix broken tests relating to panels

@johnn134 @set15