having DB object is useless in PDO interactions, test file works 100%
working config