Use wiremock rule for testing

Change-Id: Ie33dd330106e525eba3cf021169218feb23b61f6