Fixed some Flex test cases