Fixed errors in conditional tests
Whitespace does not break parenthesis
Improved if condition parsing