Refactored create_db for PDO db interaction
Added close connection statements to insert and pdo_test