@ahmetmircik then perhaps the current tests are not fine either. Currently the test code isn't very readable because it contains a lot of noise. Please clean it up.

I'll create a seperate PR for the null check.