Added test for recording program