Add null lock manager to parser tests to support code that uses it by default.

Change-Id: I938bd1b64a1b1ff241555f157c0ba737d72ee48d