added a Java smoke test example