Fix Overview tests and add repository test