update rspec setup to support headless operation, primarily for CI automation