Refact: code styling mismatch original style
Add tests for inherited private members and references