Create unit tests for rest of model functions.