concave test with java