fixed unit test with updated angular