adding some tests methods to validate your java environment