Update test generation to always include at least one method

Generated tests should always include at least one method to avoid PHPUnit errors. I've also update the method reflection to include methods defined in the parent, but overridden in child classes as those methods will also need tests.

Refs #4892