Adding cli phantom test runner & global fixes.