remove const in composite_end_test