Checking the diaphragm is as easy as putting vacuum to it. If it doesn't hold a vacuum, it's bad.

As far as the master cylinder, you can get one of these.

http://www.shop.sachserodshop.com/pr...categoryId=466