Java: Add test helper routeAsync to return Promise<Result>

Signed-off-by: Markus Jura <markus.jura@gmail.com>