Added test on 'inherit' (bug #57)
Fixed #57