fixed gallery tests