Factor out code to export and import SimpleFeature

Signed-off-by: Harsh Gupta <gupta.harsh96@gmail.com>
Write Comparison function for SimpleFeature

Signed-off-by: Harsh Gupta <gupta.harsh96@gmail.com>
Modify spec and input data to tests

Signed-off-by: Harsh Gupta <gupta.harsh96@gmail.com>