testing small java apps