modified logs DB test for a more accurate test