Refactoring. Added test for Record::find()