There are already two test files repeating this boilerplate. Why not extract it to some common TestConfig?