Added test for RecordDoesNotExistException.

DatabaseObjects: 2d8b4c80fc1344a587dd0934835ee0b7c33363e6