fixed inherit tests
updated doc