This file could go in apps/gallery/test/marionette/lib too.