Remove 18 duplications of test_flog test, fix test for output_details_methods