added select by uuid to monitor repository
Added upsert test