Add tests for iipimage viewer