wrote unit tests for the feature instance class methods