#17 added test for aggregating life cycle methods