added test for copyFromContainer, fixed up readStreamResponse method, added imageId to BuildResponse