Add unit test for Ram class.