revert gallery test fix