Added test case for issue#139, as well as fix to NestedProperty to also
collapse the path of the provided property if it is nested