Added query, function and test for getting all customers from the db