flex testing