Failing test setting a public int property on Java class instance.