implement Generic Repository and Setup basic unittest