PHPDoc and whitespace cleanup for FunctionalTest / TestSession

Because I felt sad looking at it, like an old toy that, perhaps several decades ago, once was important to some small child.