Some fixes to the test companion project.

- report a proper id; it was previously reporting the same ids as the main
project which was not good

- report an implicit depend on the main project; we were putting the main
project in the classpath but not expressing it as a Scaled depend which meant
that things like Codex weren't working; now they are