[#4761] Added tests for null values

- null values should be filtered without warnings
[#4761] null values should not raise warnings

- null values should not be filtered, and should not raise warnings