Fix make dependency file loop problem by generating testdep files from scratch.
Get rid of automatic addition of $(...._TEST_OBJ) in .testdep rule by adding implicit deps to _tests rule.
Clean-up and compact testdep rule