In groups/template tests, cast time() to a variable before using to create data

This ensures that relative times don't get screwed up if tests take more than
one second.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8548 cdf35c40-ae34-48e0-9cc9-0c9da1808c22