adding repository find by methods and respective tests