added test to ensure null is set as well