Sorted. Well, at least I know where I was going wildly wrong!
I've been used to adding test classes in the Silverlight projects of the solution for unit testing. I see now - the TTF runs the browser, so it can't be in a Silverlight project! Friday afternoon programming - sorry!