Fixed tests to use a real DeploymentConfiguration instance

Change-Id: I1c6f74bfcefda7843a55d149a5ecd33ae4c2ebf2