Add java tests

We want to make sure that it is clean and easy to use Bijection in Java, so here are some tests to that end. We should definitely have more complete coverage, but this adds the necessary dependencies as well as an example implementation in Java.