test that values are actually received by java