Fix error on database connection test