Add test to illustrate problem with memory provider
Fix issue with null values returned by Memory provider