tests in flex