Install dependencies programmatically, and removed broken tests

Made Mortar install dependencies programmatically to avoid dealing with users `$PATH` issues