factor out fixture
closes #40