Added failing test for NPE issue
3 files changed