8132566: [TESTBUG] add regression test for inherited classes with the new bean annotationsReviewed-by: alexsch