Extra unittesting for the repositories