Angular unit test document getelementsbyclassname. Such approach will create dependencies between tests.