PEP8 fix indent
add assert on mock_stat_queue_periodic_remove_after in test_queue