Fix whitespaces rule and test it