Small helpers to make inheritance with unit tests