Panel: Use this._classes()

Note: It is not possible to use a custom theme class, because it is not
possible to use the value of a class key
Panel: Look for class key in tests