Replaced old unit test for RemoveLogs

Refs #8336
Merge branch 'feature/8336_better_unit_test_for_removelogs' into develop