refactored setting fixtures to common place