add composition example to tests