Test added for load with reader instead of inputstream