Add a test for compositeView behaviors