Changed the return of getFeature() to T
Added a unit test for common/FeatureValue
Fixed a bug of null feature handling
Updated to reflect recent changes