Added tests for Record Management.
Moved records test to a different file.