Test the DB readig of attributes