Testing for Record Function