Add new gfx tests to automation.js. Fixes #301.