Fixed indention and way how to fetch table names in pdo implementation
Added pdo test