tested inheritance