Changed some deprecated methods
Minor change to DB connection example
Added connection test
Changed tests
Changed test