unit test bug remove component