updated BlocksControllerTest to work with latest changes