Flush handlers before tests begin + rebase