Added test for `initWithPath:` where the path is `nil`.