Testing and debug database