whoops swapped test and kv in the java example