Add reverse properties flattening tests

This addresses #221.