adds tests for controllers, including update method in components