implement (un)boxing in test c file