Testing for NULL parent