Update test samples for output.c functionality