Initial Java tests