unit test for imagestream