Tool for testing cylinder leakage