That is my plunkr:
https://plnkr.co/edit/C9W0pHvy27J83m25YUOJ?p=preview
These are the steps to retrace the problem:
/projects/1/tests
/projects/2/tests
Why is the active class removed by angular?
Currently this does not work, see #13865