Added test for --modules_dir flag.
Added test for --modules_dir flag.

Review: https://reviews.apache.org/r/47905/

yuquanshan/customizedMesos,neilconway/mesos,andschwa/mesos,jpeach/mesos,craimbert/mesos,zmalik/mesos,yuquanshan/customizedMesos,gsantovena/mesos,dforsyth/mesos,Gilbert88/mesos,asamerh4/mesos,zmalik/mesos,kaysoky/mesos,verizonlabs/mesos,craimbert/mesos,kaysoky/mesos,craimbert/mesos,yuquanshan/customizedMesos,kaysoky/mesos,dforsyth/mesos,andschwa/mesos,yuquanshan/customizedMesos,Aman-Jain-14/customizedMesos,verizonlabs/mesos,kaysoky/mesos,asamerh4/mesos,asamerh4/mesos,zmalik/mesos,Gilbert88/mesos,dforsyth/mesos,chhsia0/mesos,zmalik/mesos,gsantovena/mesos,jpeach/mesos,asamerh4/mesos,reneploetz/mesos,neilconway/mesos,reneploetz/mesos,andschwa/mesos,kaysoky/mesos,Aman-Jain-14/customizedMesos,craimbert/mesos,abudnik/mesos,Aman-Jain-14/customizedMesos,andschwa/mesos,jpeach/mesos,yuquanshan/customizedMesos,jpeach/mesos,gsantovena/mesos,Gilbert88/mesos,abudnik/mesos,neilconway/mesos,verizonlabs/mesos,verizonlabs/mesos,yuquanshan/customizedMesos,verizonlabs/mesos,craimbert/mesos,gsantovena/mesos,zmalik/mesos,jpeach/mesos,asamerh4/mesos,Gilbert88/mesos,verizonlabs/mesos,asamerh4/mesos,zmalik/mesos,andschwa/mesos,chhsia0/mesos,abudnik/mesos,reneploetz/mesos,Gilbert88/mesos,andschwa/mesos,craimbert/mesos,kaysoky/mesos,abudnik/mesos,Gilbert88/mesos,abudnik/mesos,jpeach/mesos,dforsyth/mesos,gsantovena/mesos,gsantovena/mesos,neilconway/mesos,Gilbert88/mesos,craimbert/mesos,neilconway/mesos,dforsyth/mesos,abudnik/mesos,neilconway/mesos,kaysoky/mesos,Aman-Jain-14/customizedMesos,reneploetz/mesos,reneploetz/mesos,gsantovena/mesos,dforsyth/mesos,abudnik/mesos,Aman-Jain-14/customizedMesos,neilconway/mesos,asamerh4/mesos,Aman-Jain-14/customizedMesos,andschwa/mesos,Aman-Jain-14/customizedMesos,reneploetz/mesos,chhsia0/mesos,chhsia0/mesos,chhsia0/mesos,zmalik/mesos,reneploetz/mesos,verizonlabs/mesos,chhsia0/mesos,yuquanshan/customizedMesos,chhsia0/mesos,jpeach/mesos,dforsyth/mesos