ticket:13 Added priority field to RequestRecord
ticket:13 Added tests