Added add_recording function and test.