Refactoring reverse

 - Fix indentation
 - Simplify string compare in UT
 - Switch from C99 to C11