Make configuration tests configurable

Adds flexibility to configuration tests to make used mysql configs
configurable.

Change-Id: Id7ef621c185af6514b87ec4f79001461bc3851c3
Closes-bug: 1334888