Add test about interface inheritance and CFlags annotation