Moved Case and fixed syntax

Moved case from activate_failure section to activate_feature section and corrected syntax on case statement.