Fix/of switch repo test