unit testing wpi service