Fixing Gallery test