tested the controller