add repository view tests