DomStubUsingTest: remove duplication