added pull to patch and tests