adding the unit test for the feature preprocessing