Reduce unnecessary setup performed for tests