For testing java code