Simplify require in test