testing control functionalities