Fix dependencies of test.unit to include proper core dependencies