Transformation: Added test for nesting view states.

The test shows that nesting view states seems to work as expected...