testing DBcontroller