Viewing existing contracts form a test.

Change-Id: I6008fda9a1d695bc917c40ca066864f933f0c036