Added null part test
Handle path parts returning null