Fix inheritance bug
Add noindex tests