Update testing environments for junit tests

Setup test environments with a given set of modules (by name). 

Also see #1164.
I recommend throwing the list into dependency resolver instead. This also will allow the user to not have to specify the full dependency chain.