Added a test for the flag FINAL_PROCESSING