convert AbstractControllerTest to java (to start debugging it)