Make test less sensitive to timing

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1523998 13f79535-47bb-0310-9956-ffa450edef68
Revert r1523988.
Using java.beans.expression was a lot simpler in terms of code volume but it failed to handle varargs correctly and triggered some unit test failures.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1524019 13f79535-47bb-0310-9956-ffa450edef68