Improve config dependencies in @PhantomJsTest