Extract test functionality

Fix #101.
These and similar methods in the test case classes now return `null`, as the defaults are stored in the Varnish|NginxProxy classes.