refactor test and method

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/happy_feet/trunk@84106 735d13b6-9817-0410-8766-e36946ffe9aa