Added last_processing and has_processing to repository, with tests