LPS-47291 split test method into three smaller ones

The `testAddNullFileEntry` test checks 3 different things. Split into three
more focused methods.
LPS-47291 Format source