move JavaPatern in test folder