Changed tests to use enums now.
Fixed whitespace issue after if()s.
Corrected a cast in find_str_in_sstring().