Unit testing: Flex reset