Corrected a bug on the Compose operator where the header would not be calculated before accessing the body of the relation.
Added tests for the Compose operator.