Adds new test of factory for loading an image from a memory stream