Test for inheriting methods