You can use a clamp on the brake line, right after it leaves the master cylinder to test it. With the line clamped so that no fluid can pass by, the master cylinder can be tested. If pressure builds, the problem isn't the mc and occurs somewhere down line. Have you attempted to adjust the brake shoes themselves (ie. inside the drums)?That must be done first before looking for trouble elsewhere.