fix test to detect bug related to all sub views not getting removed.
fix leak when a view has more than 1 subview
bumped version