Fixagent

@owolabileg @yzhang90 Fix javamop -n

You can add the integration test in this pull request.