Added test for JavaAsync doc's controller method signature