Syntax enchancements

Remove == True comparison, and use not test instead of test == False