A new local test using Java like