Add phobos as a dependency rather than directly linking in the test Change test behaviour to allow repeat runs