Petrov–Galerkin finite element methods with a hinged test space for singularly perturbed problems