Factors out fixture tests.