test add to database