test remove state