Fixed up the Repository tests which were broken due to removing bricks