Adding coverage tests for AdhocParameter

Adding some coverage tests