null fragment tests
Properly handle null input