Added DB Testing code