- resolve promise on opening image
- update test case to expect no current document when image is open