unit tests done for donor model