Adding tests for recordNotFound
Testing invalidId
Adding tests for beforeDelete