refine repository tests and logs