Testing conditional DB loading