Fixing import
Adding test for db authentication