Add tests for route guard and controller guard factories