test fixtures refactoring